<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Pin drive mode</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__gpio__drive_modes.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Pin drive mode<div class="ingroups"><a class="el" href="group__group__gpio.html">GPIO         (General Purpose Input Output)</a> &raquo; <a class="el" href="group__group__gpio__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Constants to be used for setting the drive mode of the pin. </p>
<p>There are eight primary drive modes. Below diagrams are simplified output driver diagrams of the pin view for the CPU register and UDB/DSI based digital peripherals on each of the eight drive modes. </p><div class="image">
<img src="gpio_cpu_dm_block_diagram.png" alt="gpio_cpu_dm_block_diagram.png"/>
</div>
<p>Below is a simplified output driver diagram that shows the pin view for fixed-function-based peripherals for each of the eight drive modes. </p><div class="image">
<img src="gpio_periio_dm_block_diagram.png" alt="gpio_periio_dm_block_diagram.png"/>
</div>
<ul>
<li>High-Impedance: This is the standard high-impedance (HI-Z) state recommended for analog and digital inputs. For digital signals, the input buffer is enabled; for analog signals, the input buffer is typically disabled to reduce crowbar current and leakage in low-power designs. To achieve the lowest device current, unused GPIOs must be configured to the high-impedance drive mode with input buffer disabled. Highimpedance drive mode with input buffer disabled is also the default pin reset state.</li>
<li>Resistive Pull-Up or Resistive Pull-Down: Resistive modes provide a series resistance in one of the data states and strong drive in the other. Pins can be used for either digital input or digital output in these modes. If resistive pull-up is required, a '1' must be written to that pin's Data Register bit. If resistive pull-down is required, a '0' must be written to that pin's Data Register. Interfacing mechanical switches is a common application of these drive modes. The resistive modes are also used to interface PSoC with open drain drive lines. Resistive pull-up is used when the input is open drain low and resistive pull-down is used when the input is open drain high.</li>
<li>Open Drain Drives High and Open Drain Drives Low: Open drain modes provide high impedance in one of the data states and strong drive in the other. Pins are useful as digital inputs or outputs in these modes. Therefore, these modes are widely used in bidirectional digital communication. Open drain drive high mode is used when the signal is externally pulled down and open drain drive low is used when the signal is externally pulled high. A common application for the open drain drives low mode is driving I2C bus signal lines.</li>
<li>Strong Drive: The strong drive mode is the standard digital output mode for pins; it provides a strong CMOS output drive in both high and low states. Strong drive mode pins should not be used as inputs under normal circumstances. This mode is often used for digital output signals or to drive external devices.</li>
<li>Resistive Pull-Up and Resistive Pull-Down: In the resistive pull-up and pull-down mode, the GPIO will have a series resistance in both logic 1 and logic 0 output states. The high data state is pulled up while the low data state is pulled down. This mode is useful when the pin is driven by other signals that may cause shorts. </li>
</ul>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gabb81a7da2a4cd1ed6501515f9b6950e8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gabb81a7da2a4cd1ed6501515f9b6950e8">CY_GPIO_DM_ANALOG</a>&#160;&#160;&#160;(0x00UL)</td></tr>
<tr class="memdesc:gabb81a7da2a4cd1ed6501515f9b6950e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analog High-Z.  <a href="#gabb81a7da2a4cd1ed6501515f9b6950e8">More...</a><br /></td></tr>
<tr class="separator:gabb81a7da2a4cd1ed6501515f9b6950e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff1991f8eec8e8d39ac8d29e67189aa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gaff1991f8eec8e8d39ac8d29e67189aa1">CY_GPIO_DM_INVALID_IN_OFF</a>&#160;&#160;&#160;(0x01UL)</td></tr>
<tr class="memdesc:gaff1991f8eec8e8d39ac8d29e67189aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid mode.  <a href="#gaff1991f8eec8e8d39ac8d29e67189aa1">More...</a><br /></td></tr>
<tr class="separator:gaff1991f8eec8e8d39ac8d29e67189aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60ed4ad234cd20e2cb56d3d2ab0d9d49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga60ed4ad234cd20e2cb56d3d2ab0d9d49">CY_GPIO_DM_PULLUP_IN_OFF</a>&#160;&#160;&#160;(0x02UL)</td></tr>
<tr class="memdesc:ga60ed4ad234cd20e2cb56d3d2ab0d9d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Up.  <a href="#ga60ed4ad234cd20e2cb56d3d2ab0d9d49">More...</a><br /></td></tr>
<tr class="separator:ga60ed4ad234cd20e2cb56d3d2ab0d9d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafefd5881f8bdd947ef96c0508b8a26db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gafefd5881f8bdd947ef96c0508b8a26db">CY_GPIO_DM_PULLDOWN_IN_OFF</a>&#160;&#160;&#160;(0x03UL)</td></tr>
<tr class="memdesc:gafefd5881f8bdd947ef96c0508b8a26db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Down.  <a href="#gafefd5881f8bdd947ef96c0508b8a26db">More...</a><br /></td></tr>
<tr class="separator:gafefd5881f8bdd947ef96c0508b8a26db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f392caa6c140bea3f1844fd64a8b09e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga0f392caa6c140bea3f1844fd64a8b09e">CY_GPIO_DM_OD_DRIVESLOW_IN_OFF</a>&#160;&#160;&#160;(0x04UL)</td></tr>
<tr class="memdesc:ga0f392caa6c140bea3f1844fd64a8b09e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open Drain, Drives Low.  <a href="#ga0f392caa6c140bea3f1844fd64a8b09e">More...</a><br /></td></tr>
<tr class="separator:ga0f392caa6c140bea3f1844fd64a8b09e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80599c5ee34552d545843b0effd44f38"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga80599c5ee34552d545843b0effd44f38">CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF</a>&#160;&#160;&#160;(0x05UL)</td></tr>
<tr class="memdesc:ga80599c5ee34552d545843b0effd44f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open Drain, Drives High.  <a href="#ga80599c5ee34552d545843b0effd44f38">More...</a><br /></td></tr>
<tr class="separator:ga80599c5ee34552d545843b0effd44f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacebd8bea6222d742bdfbfd86dabab940"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gacebd8bea6222d742bdfbfd86dabab940">CY_GPIO_DM_STRONG_IN_OFF</a>&#160;&#160;&#160;(0x06UL)</td></tr>
<tr class="memdesc:gacebd8bea6222d742bdfbfd86dabab940"><td class="mdescLeft">&#160;</td><td class="mdescRight">Strong Drive.  <a href="#gacebd8bea6222d742bdfbfd86dabab940">More...</a><br /></td></tr>
<tr class="separator:gacebd8bea6222d742bdfbfd86dabab940"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b03995642149163dde76ae1b104a0bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga5b03995642149163dde76ae1b104a0bb">CY_GPIO_DM_PULLUP_DOWN_IN_OFF</a>&#160;&#160;&#160;(0x07UL)</td></tr>
<tr class="memdesc:ga5b03995642149163dde76ae1b104a0bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Up/Down.  <a href="#ga5b03995642149163dde76ae1b104a0bb">More...</a><br /></td></tr>
<tr class="separator:ga5b03995642149163dde76ae1b104a0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2fe5dc00ba1770b37e620a01169485c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gaf2fe5dc00ba1770b37e620a01169485c">CY_GPIO_DM_HIGHZ</a>&#160;&#160;&#160;(0x08UL)</td></tr>
<tr class="memdesc:gaf2fe5dc00ba1770b37e620a01169485c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Digital High-Z.  <a href="#gaf2fe5dc00ba1770b37e620a01169485c">More...</a><br /></td></tr>
<tr class="separator:gaf2fe5dc00ba1770b37e620a01169485c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b0917e31e2c34dbe67b5295e05e9cce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga6b0917e31e2c34dbe67b5295e05e9cce">CY_GPIO_DM_INVALID</a>&#160;&#160;&#160;(0x09UL)</td></tr>
<tr class="memdesc:ga6b0917e31e2c34dbe67b5295e05e9cce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid mode.  <a href="#ga6b0917e31e2c34dbe67b5295e05e9cce">More...</a><br /></td></tr>
<tr class="separator:ga6b0917e31e2c34dbe67b5295e05e9cce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga822f7d73072811b69a754d70806247b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga822f7d73072811b69a754d70806247b9">CY_GPIO_DM_PULLUP</a>&#160;&#160;&#160;(0x0AUL)</td></tr>
<tr class="memdesc:ga822f7d73072811b69a754d70806247b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Up.  <a href="#ga822f7d73072811b69a754d70806247b9">More...</a><br /></td></tr>
<tr class="separator:ga822f7d73072811b69a754d70806247b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb1ce755a1101993ee98602b03453051"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gadb1ce755a1101993ee98602b03453051">CY_GPIO_DM_PULLDOWN</a>&#160;&#160;&#160;(0x0BUL)</td></tr>
<tr class="memdesc:gadb1ce755a1101993ee98602b03453051"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Down.  <a href="#gadb1ce755a1101993ee98602b03453051">More...</a><br /></td></tr>
<tr class="separator:gadb1ce755a1101993ee98602b03453051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c713a8cb3c1e444153829c5ea94b34f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga4c713a8cb3c1e444153829c5ea94b34f">CY_GPIO_DM_OD_DRIVESLOW</a>&#160;&#160;&#160;(0x0CUL)</td></tr>
<tr class="memdesc:ga4c713a8cb3c1e444153829c5ea94b34f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open Drain, Drives Low.  <a href="#ga4c713a8cb3c1e444153829c5ea94b34f">More...</a><br /></td></tr>
<tr class="separator:ga4c713a8cb3c1e444153829c5ea94b34f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1dd094f945123e3b81b8a0ea039061f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga1dd094f945123e3b81b8a0ea039061f1">CY_GPIO_DM_OD_DRIVESHIGH</a>&#160;&#160;&#160;(0x0DUL)</td></tr>
<tr class="memdesc:ga1dd094f945123e3b81b8a0ea039061f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open Drain, Drives High.  <a href="#ga1dd094f945123e3b81b8a0ea039061f1">More...</a><br /></td></tr>
<tr class="separator:ga1dd094f945123e3b81b8a0ea039061f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e554ee7c43ac65a6d48274455b53823"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#ga9e554ee7c43ac65a6d48274455b53823">CY_GPIO_DM_STRONG</a>&#160;&#160;&#160;(0x0EUL)</td></tr>
<tr class="memdesc:ga9e554ee7c43ac65a6d48274455b53823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Strong Drive.  <a href="#ga9e554ee7c43ac65a6d48274455b53823">More...</a><br /></td></tr>
<tr class="separator:ga9e554ee7c43ac65a6d48274455b53823"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad02c6679b9f71d136796b2cdcf1ae754"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__gpio__drive_modes.html#gad02c6679b9f71d136796b2cdcf1ae754">CY_GPIO_DM_PULLUP_DOWN</a>&#160;&#160;&#160;(0x0FUL)</td></tr>
<tr class="memdesc:gad02c6679b9f71d136796b2cdcf1ae754"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resistive Pull-Up/Down.  <a href="#gad02c6679b9f71d136796b2cdcf1ae754">More...</a><br /></td></tr>
<tr class="separator:gad02c6679b9f71d136796b2cdcf1ae754"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gabb81a7da2a4cd1ed6501515f9b6950e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb81a7da2a4cd1ed6501515f9b6950e8">&#9670;&nbsp;</a></span>CY_GPIO_DM_ANALOG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_ANALOG&#160;&#160;&#160;(0x00UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Analog High-Z. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="gaff1991f8eec8e8d39ac8d29e67189aa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff1991f8eec8e8d39ac8d29e67189aa1">&#9670;&nbsp;</a></span>CY_GPIO_DM_INVALID_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_INVALID_IN_OFF&#160;&#160;&#160;(0x01UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invalid mode. </p>
<p>It should not be used </p>

</div>
</div>
<a id="ga60ed4ad234cd20e2cb56d3d2ab0d9d49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60ed4ad234cd20e2cb56d3d2ab0d9d49">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLUP_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLUP_IN_OFF&#160;&#160;&#160;(0x02UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Up. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="gafefd5881f8bdd947ef96c0508b8a26db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafefd5881f8bdd947ef96c0508b8a26db">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLDOWN_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLDOWN_IN_OFF&#160;&#160;&#160;(0x03UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Down. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="ga0f392caa6c140bea3f1844fd64a8b09e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f392caa6c140bea3f1844fd64a8b09e">&#9670;&nbsp;</a></span>CY_GPIO_DM_OD_DRIVESLOW_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_OD_DRIVESLOW_IN_OFF&#160;&#160;&#160;(0x04UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open Drain, Drives Low. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="ga80599c5ee34552d545843b0effd44f38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga80599c5ee34552d545843b0effd44f38">&#9670;&nbsp;</a></span>CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF&#160;&#160;&#160;(0x05UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open Drain, Drives High. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="gacebd8bea6222d742bdfbfd86dabab940"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacebd8bea6222d742bdfbfd86dabab940">&#9670;&nbsp;</a></span>CY_GPIO_DM_STRONG_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_STRONG_IN_OFF&#160;&#160;&#160;(0x06UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Strong Drive. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="ga5b03995642149163dde76ae1b104a0bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5b03995642149163dde76ae1b104a0bb">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLUP_DOWN_IN_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLUP_DOWN_IN_OFF&#160;&#160;&#160;(0x07UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Up/Down. </p>
<p>Input buffer off </p>

</div>
</div>
<a id="gaf2fe5dc00ba1770b37e620a01169485c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2fe5dc00ba1770b37e620a01169485c">&#9670;&nbsp;</a></span>CY_GPIO_DM_HIGHZ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_HIGHZ&#160;&#160;&#160;(0x08UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Digital High-Z. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="ga6b0917e31e2c34dbe67b5295e05e9cce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6b0917e31e2c34dbe67b5295e05e9cce">&#9670;&nbsp;</a></span>CY_GPIO_DM_INVALID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_INVALID&#160;&#160;&#160;(0x09UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invalid mode. </p>
<p>It should not be used </p>

</div>
</div>
<a id="ga822f7d73072811b69a754d70806247b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga822f7d73072811b69a754d70806247b9">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLUP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLUP&#160;&#160;&#160;(0x0AUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Up. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="gadb1ce755a1101993ee98602b03453051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb1ce755a1101993ee98602b03453051">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLDOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLDOWN&#160;&#160;&#160;(0x0BUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Down. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="ga4c713a8cb3c1e444153829c5ea94b34f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c713a8cb3c1e444153829c5ea94b34f">&#9670;&nbsp;</a></span>CY_GPIO_DM_OD_DRIVESLOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_OD_DRIVESLOW&#160;&#160;&#160;(0x0CUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open Drain, Drives Low. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="ga1dd094f945123e3b81b8a0ea039061f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1dd094f945123e3b81b8a0ea039061f1">&#9670;&nbsp;</a></span>CY_GPIO_DM_OD_DRIVESHIGH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_OD_DRIVESHIGH&#160;&#160;&#160;(0x0DUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open Drain, Drives High. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="ga9e554ee7c43ac65a6d48274455b53823"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e554ee7c43ac65a6d48274455b53823">&#9670;&nbsp;</a></span>CY_GPIO_DM_STRONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_STRONG&#160;&#160;&#160;(0x0EUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Strong Drive. </p>
<p>Input buffer on </p>

</div>
</div>
<a id="gad02c6679b9f71d136796b2cdcf1ae754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad02c6679b9f71d136796b2cdcf1ae754">&#9670;&nbsp;</a></span>CY_GPIO_DM_PULLUP_DOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_GPIO_DM_PULLUP_DOWN&#160;&#160;&#160;(0x0FUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resistive Pull-Up/Down. </p>
<p>Input buffer on </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
